package com.work.service.main;

import com.work.dto.main.TallyPassSubmitDTO;
import com.work.entity.main.TallyPass;
import org.springblade.core.mp.base.BaseService;

/**
 * 理货达标接口
 *
 * @author ：dujianyu
 * @since ：Created in 2024/3/21 9:00
 */
public interface ITallyPassService extends BaseService<TallyPass> {

    /**
     * 新增或修改理货达标
     * @param dto 数据
     * @return boolean
     * @author dujianyu
     * @since 2024/3/21 9:17
     */
    boolean submitTallyPass(TallyPassSubmitDTO dto);

    /**
     * 根据理货id删除
     * @param tallyId 理货ID
     * @return boolean
     * @author dujianyu
     * @since 2024/3/29 10:31
     */
    boolean removeByTallyId(Long tallyId);

}
